package zy.jpa;

import java.util.Date;
import java.util.List;

public interface PersonDAO {
	public boolean insertPerson(String name, boolean sex, short age,
			Date birthday);

	public String getPersonNameByID(int personid);

	public boolean updatePerson(Person person);

	public Person getPersonByID(int personid);

	public List getPersonList();

	public void batchInsertDemoPersions();

	public void clearTableDemoDatas();
}
